libxl: Handle non-ballooned, zero slackmem properly for pci passthru
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Mon, 2 Apr 2012 16:22:31 +0000 (17:22 +0100)
committerGeorge Dunlap <george.dunlap@eu.citrix.com>
Mon, 2 Apr 2012 16:22:31 +0000 (17:22 +0100)
commitac84df4793663965b12462d06e38eee03ec36891
tree4bcfdd437602ea5a1221c51a911585199578577a
parent69c48b169edf58da83de632ad124867da2698a8f
libxl: Handle non-ballooned, zero slackmem properly for pci passthru

The e820_sanitize() function in libxl_pci.c expects one of its arguments to
be non-zero; but since a recent changeset, it can typically expect *to be*
zero.  Since the zero case is handled properly, just remove the check.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/libxl_pci.c